[INFO] cloning repository https://github.com/armersong/nostd-sample
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/armersong/nostd-sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farmersong%2Fnostd-sample", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farmersong%2Fnostd-sample'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2a6ca1920c67acbcea9325c98d1699be30242a86
[INFO] building armersong/nostd-sample against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farmersong%2Fnostd-sample" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/armersong/nostd-sample on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/armersong/nostd-sample
[INFO] finished tweaking git repo https://github.com/armersong/nostd-sample
[INFO] tweaked toml for git repo https://github.com/armersong/nostd-sample written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/armersong/nostd-sample already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e01b53d98f7f8f29516db41808682b4fca0e494f27a4c84c7cbeecd419d41832
[INFO] running `Command { std: "docker" "start" "-a" "e01b53d98f7f8f29516db41808682b4fca0e494f27a4c84c7cbeecd419d41832", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e01b53d98f7f8f29516db41808682b4fca0e494f27a4c84c7cbeecd419d41832", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e01b53d98f7f8f29516db41808682b4fca0e494f27a4c84c7cbeecd419d41832", kill_on_drop: false }`
[INFO] [stdout] e01b53d98f7f8f29516db41808682b4fca0e494f27a4c84c7cbeecd419d41832
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c45df62989cec3332d367445944eb2f66c482fb5380f0c2d418e2dbde24afbd2
[INFO] running `Command { std: "docker" "start" "-a" "c45df62989cec3332d367445944eb2f66c482fb5380f0c2d418e2dbde24afbd2", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.58
[INFO] [stderr]    Compiling nostd v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/tmp/rustcVBXdEO/symbols.o" "/opt/rustwide/target/debug/deps/nostd-24019516800088a1.nostd.39ea9a90-cgu.2.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9e21114b6170ad54.rlib" "-Wl,-Bdynamic" "-lutil" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/nostd-24019516800088a1" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
[INFO] [stdout]           (.text+0x16): undefined reference to `__libc_csu_fini'
[INFO] [stdout]           /usr/bin/ld: (.text+0x1d): undefined reference to `__libc_csu_init'
[INFO] [stdout]           /usr/bin/ld: (.text+0x2a): undefined reference to `__libc_start_main'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/nostd-24019516800088a1.nostd.39ea9a90-cgu.2.rcgu.o: in function `<nostd::calloc::ESystem as core::alloc::global::GlobalAlloc>::alloc':
[INFO] [stdout]           /opt/rustwide/workdir/src/calloc.rs:37: undefined reference to `printf'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/src/calloc.rs:39: undefined reference to `malloc'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/nostd-24019516800088a1.nostd.39ea9a90-cgu.2.rcgu.o: in function `<nostd::calloc::ESystem as core::alloc::global::GlobalAlloc>::alloc_zeroed':
[INFO] [stdout]           /opt/rustwide/workdir/src/calloc.rs:53: undefined reference to `printf'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/src/calloc.rs:55: undefined reference to `calloc'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/nostd-24019516800088a1.nostd.39ea9a90-cgu.2.rcgu.o: in function `<nostd::calloc::ESystem as core::alloc::global::GlobalAlloc>::dealloc':
[INFO] [stdout]           /opt/rustwide/workdir/src/calloc.rs:67: undefined reference to `printf'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/src/calloc.rs:68: undefined reference to `free'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/nostd-24019516800088a1.nostd.39ea9a90-cgu.2.rcgu.o: in function `nostd::calloc::aligned_malloc':
[INFO] [stdout]           /opt/rustwide/workdir/src/calloc.rs:119: undefined reference to `posix_memalign'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/nostd-24019516800088a1.nostd.39ea9a90-cgu.2.rcgu.o: in function `rust_oom':
[INFO] [stdout]           /opt/rustwide/workdir/src/calloc.rs:130: undefined reference to `printf'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/nostd-24019516800088a1.nostd.39ea9a90-cgu.2.rcgu.o: in function `core::intrinsics::write_bytes':
[INFO] [stdout]           /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/core/src/intrinsics.rs:2484: undefined reference to `memset'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/nostd-24019516800088a1.nostd.39ea9a90-cgu.2.rcgu.o: in function `main':
[INFO] [stdout]           /opt/rustwide/workdir/src/main.rs:35: undefined reference to `printf'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/src/main.rs:37: undefined reference to `memset'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/nostd-24019516800088a1.nostd.39ea9a90-cgu.2.rcgu.o: in function `alloc::boxed::Box<T>::new':
[INFO] [stdout]           /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/alloc/src/boxed.rs:220: undefined reference to `memcpy'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/nostd-24019516800088a1.nostd.39ea9a90-cgu.2.rcgu.o: in function `main':
[INFO] [stdout]           /opt/rustwide/workdir/src/main.rs:43: undefined reference to `printf'
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout]   = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
[INFO] [stdout]   = note: use the `-l` flag to specify native libraries to link
[INFO] [stdout]   = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nostd` due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "c45df62989cec3332d367445944eb2f66c482fb5380f0c2d418e2dbde24afbd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c45df62989cec3332d367445944eb2f66c482fb5380f0c2d418e2dbde24afbd2", kill_on_drop: false }`
[INFO] [stdout] c45df62989cec3332d367445944eb2f66c482fb5380f0c2d418e2dbde24afbd2
